package com.demo.service.impl;

import com.demo.domain.UserJwt;
import com.demo.service.UserJwtService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Author： yu.Tan
 * @Date: 2020/8/28 10:27
 * @Description:
 */
@Service
@Slf4j
public class UserJwtServiceImpl implements UserJwtService {
    @Override
    public UserJwt findUserById(String userId) {
        return new UserJwt("001", "admin", "123456");
    }

    @Override
    public UserJwt findByUsername(UserJwt userJwt) {
        return new UserJwt("001", "admin", "123456");
    }
}
